<html>
<head><title>rich text</title></head>
<script>
function start() {
    window.frames["richtext"].document.designMode="on";
}
</script>
<body onload="start();">
    <iframe id="richtext" name="richtext"/>
</body>
</html>